package com.king.single;

//静态内部类 单例
public class Holder {

    private Holder(){}

    public Holder getInstance(){
        return innerClass.HOLDER;
    }

    public static class innerClass{
        private static final  Holder HOLDER = new Holder();
    }
}
